"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("../props.cjs"),t=e.defineComponent({name:"ep-textarea",props:o.default,emits:["update:modelValue"],setup(o,{emit:t}){const s=e.computed(()=>o.options.permission>0),u=e.computed({get:()=>s.value&&!o.modelValue?"--":o.modelValue,set(e){t("update:modelValue",e)}}),i=e.computed(()=>!!o.options.autosize&&{minRows:o.options.rows,maxRows:7});return{fieldModel:u,isDetail:s,autosize:i}}});exports.default=t;
